package cn.crm.spring.service;

import cn.crm.spring.pojo.Dict;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

public interface DictService {
    public Page<Dict> findDict(Integer id,String dictItem, Pageable pageable,Integer typeId);

    public void saveDict(Dict dict);

    public void deleteDict(Integer dictId);

    public Dict getDictByDictId(Integer dictId);

    public List<Dict> findSvrType();
}
